package com.GroupSix.service;

import com.GroupSix.entity.ExamAnswerEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface ExamAnswerService extends IService<ExamAnswerEntity> {
    //保存答案并计算分数
     void submitExam(ExamAnswerEntity answer);
    //检查剩余的时间
    Map<String, Object> checkExamTime(Integer examId);
    //获取答题卡信息


    //获取答卷信息
    ExamAnswerEntity getAnswer(Integer answerId);

    //分页查询答卷
    IPage<ExamAnswerEntity> list(ExamAnswerEntity examAnswerEntity, Integer pageNo, Integer pageSize);
}
